<?php  

require_once('../../config.php');
require_once('quail/quail.php');
require_once('filter.php');
require_once('includes/moodleDemo.php');
global $THEME;

print_header("Accessibility Overview");

$quail = new quail(str_replace('\\', '', $_POST['text']), $CFG->filter_accessibility_guideline, 'string', 'moodleDemo');
$quail->setOption('cms_mode', TRUE);
$quail->runCheck();
$report = $quail->getReport(array('display_level' => $CFG->filter_accessibility_display_level));
print $report;
print_footer();

